<%--
  Created by IntelliJ IDEA.
  User: tang
  Date: 2022/5/27
  Time: 14:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>详细信息</title>
    <style>
        table{
            border: 1px solid plum;
            width: 1000px;
            margin: 10px auto;
            text-align: center;
            border-collapse: collapse;
        }
        tr{
            border: 1px solid plum;
            height: 50px;
            text-align: center;
        }
        th{
            border: 1px solid plum;
        }
        h2{
            text-align: center;
        }

    </style>
</head>
<body>
<h2>信息列表</h2>
<p>欢迎[${loginUser}]</p>
<table>
    <tr>
        <th>编号</th>
        <th>姓名</th>
        <th>生日</th>
        <th>性别</th>
        <th>职业</th>
        <th>住所</th>
        <th>电话</th>
        <th>照片</th>
    </tr>
    <%--    展示域中的数据--%>


        <tr>
            <td>${Profile.id}</td>
            <th>${Profile.name}</th>
            <th>${Profile.birthday}</th>
            <th>${Profile.gender}</th>
            <th>${Profile.career}</th>
            <th>${Profile.address}</th>
            <th>${Profile.mobile}</th>
            <th><img src="${Profile.picture}" alt="头像" width="200" height="200"></th>

        </tr>
    <tr>
        <td><button><a href="list">返回</a> </button></td>
    </tr>


</table>
</body>
</html>
